Optimal. Leaf size=51 \[ -\frac{a^2 A}{3 x^3}+\frac{1}{3} b x^3 (2 a B+A b)+a \log (x) (a B+2 A b)+\frac{1}{6} b^2 B x^6 \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.147847, antiderivative size = 51, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.1 \[ -\frac{a^2 A}{3 x^3}+\frac{1}{3} b x^3 (2 a B+A b)+a \log (x) (a B+2 A b)+\frac{1}{6} b^2 B x^6 \]
Antiderivative was successfully verified.
[In] Int[((a + b*x^3)^2*(A + B*x^3))/x^4,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ - \frac{A a^{2}}{3 x^{3}} + \frac{B b^{2} \int ^{x^{3}} x\, dx}{3} + \frac{a \left (2 A b + B a\right ) \log{\left (x^{3} \right )}}{3} + \frac{b \left (A b + 2 B a\right ) \int ^{x^{3}} A\, dx}{3 A} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((b*x**3+a)**2*(B*x**3+A)/x**4,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0448527, size = 49, normalized size = 0.96 \[ \frac{1}{6} \left (-\frac{2 a^2 A}{x^3}+2 b x^3 (2 a B+A b)+6 a \log (x) (a B+2 A b)+b^2 B x^6\right ) \]
Antiderivative was successfully verified.
[In] Integrate[((a + b*x^3)^2*(A + B*x^3))/x^4,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.008, size = 51, normalized size = 1. \[{\frac{{b}^{2}B{x}^{6}}{6}}+{\frac{A{x}^{3}{b}^{2}}{3}}+{\frac{2\,B{x}^{3}ab}{3}}+2\,A\ln \left ( x \right ) ab+{a}^{2}B\ln \left ( x \right ) -{\frac{A{a}^{2}}{3\,{x}^{3}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((b*x^3+a)^2*(B*x^3+A)/x^4,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.42781, size = 70, normalized size = 1.37 \[ \frac{1}{6} \, B b^{2} x^{6} + \frac{1}{3} \,{\left (2 \, B a b + A b^{2}\right )} x^{3} + \frac{1}{3} \,{\left (B a^{2} + 2 \, A a b\right )} \log \left (x^{3}\right ) - \frac{A a^{2}}{3 \, x^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^3 + A)*(b*x^3 + a)^2/x^4,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.2194, size = 73, normalized size = 1.43 \[ \frac{B b^{2} x^{9} + 2 \,{\left (2 \, B a b + A b^{2}\right )} x^{6} + 6 \,{\left (B a^{2} + 2 \, A a b\right )} x^{3} \log \left (x\right ) - 2 \, A a^{2}}{6 \, x^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^3 + A)*(b*x^3 + a)^2/x^4,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 1.61716, size = 51, normalized size = 1. \[ - \frac{A a^{2}}{3 x^{3}} + \frac{B b^{2} x^{6}}{6} + a \left (2 A b + B a\right ) \log{\left (x \right )} + x^{3} \left (\frac{A b^{2}}{3} + \frac{2 B a b}{3}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x**3+a)**2*(B*x**3+A)/x**4,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.212246, size = 93, normalized size = 1.82 \[ \frac{1}{6} \, B b^{2} x^{6} + \frac{2}{3} \, B a b x^{3} + \frac{1}{3} \, A b^{2} x^{3} +{\left (B a^{2} + 2 \, A a b\right )}{\rm ln}\left ({\left | x \right |}\right ) - \frac{B a^{2} x^{3} + 2 \, A a b x^{3} + A a^{2}}{3 \, x^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^3 + A)*(b*x^3 + a)^2/x^4,x, algorithm="giac")
[Out]